﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using GLSimulationControl;

namespace _3CMillingSimulator
{
    public partial class GeneratePath : Form
    {
        public GeneratePath()
        {
            InitializeComponent();
        }

        private void loadFileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (this.openFileDialog.ShowDialog() == DialogResult.OK)
            {
            }
        }

        private void generatePathToolStripButton_Click(object sender, EventArgs e)
        {

        }

        private void savePathToolStripButton_Click(object sender, EventArgs e)
        {
            GeometryMillingPreview.GenerateAndSavePathFile("bsplinePath.txt");
            //if (this.saveFileDialog.ShowDialog() == DialogResult.OK)
            //{
            //    GeometryMillingPreview.GenerateAndSavePathFile( this.saveFileDialog.FileName );
            //}
        }

        private void switchToSimulationToolStripButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
